package com.cxm.qyyz.core.http;

public class ApiException extends Exception {

    private final int errCode;
    private final String errMsg;

    public ApiException(int errCode, String errMsg) {
        this.errCode = errCode;
        this.errMsg = errMsg;
    }

    public int getErrCode() {
        return errCode;
    }

    public String getErrMsg() {
        return errMsg;
    }
}
